package com.mes.dao.lf;

import com.mes.entity.lf.Nogood;
import com.mes.entity.lf.NogoodExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NogoodMapper {
    int countByExample(NogoodExample example);

    int deleteByExample(NogoodExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Nogood record);

    int insertSelective(Nogood record);

    List<Nogood> selectByExample(NogoodExample example);

    Nogood selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Nogood record, @Param("example") NogoodExample example);

    int updateByExample(@Param("record") Nogood record, @Param("example") NogoodExample example);

    int updateByPrimaryKeySelective(Nogood record);

    int updateByPrimaryKey(Nogood record);

	void add(Nogood nogood);
}